﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoneLinePacking.Models.Entity.Base;

namespace ZoneLinePacking.Models.Entity {

    /// <summary>
    /// 任务工单
    /// </summary>
    [Table(Name = "base_work_order")]
    public class WorkOrderEntity : EntityBase {

        private string _workOrderNumber;
        /// <summary>
        /// 工单号
        /// </summary>
        public string WorkOrderNumber {
            get { return _workOrderNumber; }
            set { _workOrderNumber = value; base.RaisePropertyChanged(); }
        }

        private string _workOrderLineNumber;
        /// <summary>
        /// 工单行号
        /// </summary>
        public string WorkOrderLineNumber {
            get { return _workOrderLineNumber; }
            set { _workOrderLineNumber = value; base.RaisePropertyChanged(); }
        }

        private string _materialCode;
        /// <summary>
        /// 物料代码
        /// </summary>
        public string MaterialCode {
            get { return _materialCode; }
            set { _materialCode = value; base.RaisePropertyChanged(); }
        }

        private string _materialName;
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName {
            get { return _materialName; }
            set { _materialName = value; base.RaisePropertyChanged(); }
        }

        private string _speciModel;
        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpeciModel {
            get { return _speciModel; }
            set { _speciModel = value; base.RaisePropertyChanged(); }
        }

        private string _drawingNumber;
        /// <summary>
        /// 图号
        /// </summary>
        public string DrawingNumber {
            get { return _drawingNumber; }
            set { _drawingNumber = value; base.RaisePropertyChanged(); }
        }

        private string _materialVersion;
        /// <summary>
        /// 物料版本号
        /// </summary>
        public string MaterialVersion {
            get { return _materialVersion; }
            set { _materialVersion = value; base.RaisePropertyChanged(); }
        }

        private string _productionQuantity;
        /// <summary>
        /// 生产数量
        /// </summary>
        public string ProductionQuantity {
            get { return _productionQuantity; }
            set { _productionQuantity = value; base.RaisePropertyChanged(); }
        }

        private string _bomVersion;
        /// <summary>
        /// BOM版本号
        /// </summary>
        public string BomVersion {
            get { return _bomVersion; }
            set { _bomVersion = value; base.RaisePropertyChanged(); }
        }

        private string _projectCode;
        /// <summary>
        /// 项目代码
        /// </summary>
        public string ProjectCode {
            get { return _projectCode; }
            set { _projectCode = value; base.RaisePropertyChanged(); }
        }

        private string _projectName;
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName {
            get { return _projectName; }
            set { _projectName = value; base.RaisePropertyChanged(); }
        }

    }

}
